﻿<Page
    x:Class="DevicePickerSample.win81.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:DevicePickerSample.win81"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
    mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Margin="100">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Button Grid.Row="0" HorizontalAlignment="Center"  Content="Select device" Click="Button_Click"/>
        <StackPanel Grid.Row="1" Margin="19,10,0,0" Name="DeviceInformationPanel">
            <TextBlock Text="{Binding ConnectionHostName}" Style="{ThemeResource TitleTextBlockStyle}"/>
            <TextBlock Text="{Binding ConnectionServiceName}" Style="{ThemeResource BodyTextBlockStyle}"/>
        </StackPanel>
    </Grid>
</Page>
